package cn.yh.shop.product.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.yh.shop.product.dao.BrandDao;
import cn.yh.shop.product.model.Brand;
import cn.yh.shop.product.service.IBrandService;
@Service
public class BrandSeviceImpl implements IBrandService {
	/**
	 * 品牌数据访问对象
	 */
	@Autowired
	private BrandDao branddao;
	
	/**
	 * 获取所有品牌
	 */
	@Override
	public List<Brand> getAllBrand() {
		return branddao.getAllBrand();
	}

}
